<?php
namespace app\admin\model;

use think\Model;

class OrderContract extends Model
{
	public function Member(){
		return $this->hasOne('member','id','user_id')->field('username');
	}
	public function Project(){
		return $this->hasOne('project','id','project_id');
	}
}